package com.naire.modul.function.vo;

import java.util.ArrayList;
import java.util.List;

public class FunctionVo {

	private Integer function_id;
	private String function_num;
	private String function_name;
	private String parent_num;
	private String action;
	private String name;
	private String request;
	private String target = "mainFrame";
	private List<FunctionVo> data = new ArrayList<FunctionVo>();

	public void setFunction_id(Integer function_id) {
		this.function_id = function_id;
	}

	public Integer getFunction_id() {
		return function_id;
	}

	public void setFunction_num(String function_num) {
		this.function_num = function_num;
	}

	public String getFunction_num() {
		return function_num;
	}

	public void setFunction_name(String function_name) {
		this.name = function_name;
		this.function_name = function_name;
	}

	public String getFunction_name() {
		return function_name;
	}

	public void setParent_num(String parent_num) {
		this.parent_num = parent_num;
	}

	public String getParent_num() {
		return parent_num;
	}

	public void setAction(String action) {
		this.request = action;
		this.action = action;
	}

	public String getAction() {
		return action;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRequest() {
		return request;
	}

	public void setRequest(String request) {
		this.request = request;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public List<FunctionVo> getData() {
		return data;
	}

	public void setData(List<FunctionVo> data) {
		this.data = data;
	}

	public void add(FunctionVo d) {
		data.add(d);
	}
}
